package com.isoft.illustrationsdraw.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;

import lombok.Data;

@Data
@TableName("sub_levels")
public class SubLevel {
    private Long id;
    private Long subscriberId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long subscribedId;
    private int subscriptionLevel;
    public SubLevel(){}
}
